package 字符串;

import java.util.Objects;

public class _BM86_大数加法 {

	public static void main(String[] args) {
		_BM86_大数加法 test = new _BM86_大数加法();
		System.out.println(test.solve("9", "99999999999999999999999999999999999999999999999999999999999994"));

	}
	
	public String solve (String s, String t) {
//		System.out.println("==="+t.length());
//		if(s.length() > 100000) {
//			if(t.length() > 100000) {
//				return "";
//			}else {
//				return t;
//			}
//		}else if(t.length() > 100000){
//			if(s.length() > 100000) {
//				return "";
//			}else {
//				return s;
//			}
//		}
		if(s == "" && t != "") {
        	return t;
        }else if(s != "" && t == "") {
        	return s;
        }else if(s == "" && t == "") {
        	return "";
        }
        
        long ss = Long.parseLong(s);
        long tt = Long.parseLong(t);
        return String.valueOf(ss + tt);
    }

}
